﻿<phone:PhoneApplicationPage 
    x:Class="first_learn.MainPageFive"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Landscape" Orientation="LandscapeLeft"
    mc:Ignorable="d" shell:SystemTray.IsVisible="True" d:DesignHeight="480" d:DesignWidth="656">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent" Width="912">
        <Grid.RowDefinitions>
            <RowDefinition Height="0"/>
            <RowDefinition Height="480*"/>
        </Grid.RowDefinitions>
        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,480,12,0"></Grid>
        <Image Height="391" HorizontalAlignment="Left" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="485" Source="images/share.jpg" Grid.Row="1" Margin="12,12,0,0" />
        <Button Content="Capture" Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="503,90,0,0" Name="button1" VerticalAlignment="Top" Width="146" Click="buttonCapture_Click"/>
        <Button Content="Browser" Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="503,220,0,0" Name="button2" VerticalAlignment="Top" Width="146" Click="browser_Click"/>
        <Button Content="Upload" Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="503,350,0,0" Name="button3" VerticalAlignment="Top" Width="146" Click="upload_Click" />
        <TextBox Grid.Row="1" Height="72" HorizontalAlignment="Left" Margin="208,407,0,0" Name="textBox1" Text="TextBox" VerticalAlignment="Top" Width="270" />
        <TextBlock Grid.Row="1" Height="47" HorizontalAlignment="Left" Margin="12,421,0,0" Name="textBlock1" Text="Picture Name:" VerticalAlignment="Top" Width="193" FontSize="28"/>
        <TextBlock Grid.Row="1" Height="30" HorizontalAlignment="Left" Margin="553,436,0,0" Name="textBlock2" Text="TextBlock" VerticalAlignment="Top" />
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar Mode="Default" Opacity="1.0" IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Icons/dark/appbar.share.rest.png" Click="ToMainPage" Text="MainPage"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 3"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>

</phone:PhoneApplicationPage>
